{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body" pad15>
        <div class="layui-form" wid100 lay-filter="">
            <form action="{:request()->url()}" class="layui-form" method="post">
                <!--公海操作-->
                <fieldset class="layui-elem-field">
                    <legend>公海配置</legend>
                    <div class="layui-field-box">
                        <div class="layui-form-item">
                            <label class="layui-form-label">导入客户</label>
                            <div class="layui-input-inline" style="width: 400px">
                                <input type="radio" name="pool_import" value="0" class="layui-input" title="导入到私海" {if isset($data.pool_import) and $data.pool_import =='0'}checked{/if}>
                                <input type="radio" name="pool_import" value="1" class="layui-input" title="导入到公海" {if isset($data.pool_import) and $data.pool_import =='1'}checked{/if}>
                            </div>
                            <div class="layui-form-mid layui-word-aux">批量导入客户后,客户的存放位置</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">手机号显示</label>
                            <div class="layui-input-inline" style="width: 400px">
                                <input type="radio" name="pool_mobile" value="0" class="layui-input" title="不隐藏" {if isset($data.pool_mobile) and $data.pool_mobile =='0'}checked{/if}>
                                <input type="radio" name="pool_mobile" value="1" class="layui-input" title="隐藏中间4位" {if isset($data.pool_mobile) and $data.pool_mobile =='1'}checked{/if}>
                            </div>
                            <div class="layui-form-mid layui-word-aux">公海中,显示手机号码是否隐藏</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">公海领取</label>
                            <div class="layui-input-inline" style="width: 400px;">
                                <input type="number" name="pool_drawnum" class="layui-input"  value="{$data.pool_drawnum|default='0'}" placeholder="" autocomplete="off" lay-verify="required">
                            </div>
                            <div class="layui-form-mid layui-word-aux">每日可领取公海客户的数量,0为不限制</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">回收公海</label>
                            <div class="layui-input-inline" style="width: 400px;">
                                <input type="number" name="pool_recovery" class="layui-input"  value="{$data.pool_recovery|default='0'}" placeholder="" autocomplete="off" lay-verify="required">
                            </div>
                            <div class="layui-form-mid layui-word-aux">天后未跟进的客户自动回收公海,0为不限制</div>
                        </div>
                    </div>
                </fieldset>
                <!--客户设置-->
                <fieldset class="layui-elem-field">
                    <legend>客户设置</legend>
                    <div class="layui-field-box">
                        <div class="layui-form-item">
                            <label class="layui-form-label">手机排重</label>
                            <div class="layui-input-inline" style="width: 400px">
                                <input type="radio" name="crm_mobile" value="0" class="layui-input" title="允许重复" {if isset($data.crm_mobile) and $data.crm_mobile =='0'}checked{/if}>
                                <input type="radio" name="crm_mobile" value="1" class="layui-input" title="不允许重复" {if isset($data.crm_mobile) and $data.crm_mobile =='1'}checked{/if}>
                            </div>
                            <div class="layui-form-mid layui-word-aux">客户手机号码是否允许重复</div>
                        </div>
                    </div>
                </fieldset>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit  lay-filter="*">确认保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
